!'use strict';
let historyTimeController = require('../../../app/controller/back/report/historyTimeController');
historyTimeController = ModelProxy(historyTimeController);
let router = require('express').Router();

router.get('/page', historyTimeController.historyTimePage);
// 告警信息列表
router.post('/list', historyTimeController.history_time_List);
// 告警信息-Excel导出
router.post('/export',historyTimeController.historyTimeExport);
// 切换图表页面
router.get('/history-time-char/page', historyTimeController.changeCharPage);
//历史开关时间-获取图表数据
router.post('/history-time-char/char', historyTimeController.getChar);

module.exports = router;
